package models

import (
	"hc-admin/common/models"
)

type BusDepositProof struct {
	models.Model

	FullName string `json:"fullName" gorm:"type:varchar(100);comment:客戶英文全名"`
	IdCard   string `json:"idCard" gorm:"type:varchar(100);comment:客戶身分證號碼"`
	FilePath string `json:"filePath" gorm:"type:varchar(255);comment:上傳收據文件地址"`
	Status   string `json:"status" gorm:"type:varchar(4);comment:状态"`
	models.ModelTime
	models.ControlBy
}

func (BusDepositProof) TableName() string {
	return "bus_deposit_proof"
}

func (e *BusDepositProof) Generate() models.ActiveRecord {
	o := *e
	return &o
}

func (e *BusDepositProof) GetId() interface{} {
	return e.Id
}
